package com.wzcl.app.dao.repository;

import com.wzcl.app.dao.model.KnowledgePoint;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface KnowledgePointRepository extends JpaRepository<KnowledgePoint,Integer>, JpaSpecificationExecutor<KnowledgePoint> {

    KnowledgePoint findByGradeIdAndSubjectIdAndChapterAndPoint(Integer gradeId, Integer subjectId, String chapter, String point);

}
